package survey.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import survey.dao.UserDao;
import survey.entity.User;
import survey.service.UserService;

public class UserServiceImpl implements UserService {
	@Resource
	private UserDao userDao;

	public UserDao getUserDao() {
		return userDao;
	}

	public void setUserDao(UserDao userDao) {
		this.userDao = userDao;
	}

	public User getUserInfo(User user) {
		return userDao.getUserInfo(user);
	}

}
